#if !defined(AFX_CTLPARAVIEW_H__65813572_96EC_40E6_B460_178DD7D48802__INCLUDED_)
#define AFX_CTLPARAVIEW_H__65813572_96EC_40E6_B460_178DD7D48802__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// CtlParaView.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CCtlParaView form view

#ifndef __AFXEXT_H__
#include <afxext.h>
#endif

#include "GStationDoc.h"

class CCtlParaView : public CFormView
{
public:
	CCtlParaView();
protected:           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(CCtlParaView)

// Form Data
public:
	//{{AFX_DATA(CCtlParaView)
	enum { IDD = IDD_FORMVIEW_CtlPara };
	CComboBox	m_sendcb4;
	CComboBox	m_sendcb3;
	CComboBox	m_sendcb2;
	CComboBox	m_sendcb1;
	CListCtrl	m_lt;
	double	vdd;
	long	vll;
	BYTE	vcc;
	CString	pname;
	float	m_send1edit1;
	float	m_send1edit2;
	float	m_send1edit3;
	float	m_send2edit1;
	float	m_send2edit2;
	float	m_send2edit3;
	float	m_send3edit1;
	float	m_send3edit2;
	float	m_send3edit3;
	float	m_send4edit1;
	float	m_send4edit2;
	float	m_send4edit3;
	float	m_send_n;
	//}}AFX_DATA

// Attributes
public:
	CGStationDoc * doc;
	bool created;
// Operations
public:
	void SaveChan(CString path);
	void LoadChan();
	void ShowV();
	void OnSend(int serial);
	CGStationDoc * GetDocument();

   
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CCtlParaView)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual void OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint);
	virtual void OnInitialUpdate();
	//}}AFX_VIRTUAL
	CButton mr1;
	CButton mr2;
	CButton mr3;
// Implementation
protected:
	virtual ~CCtlParaView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	// Generated message map functions
	//{{AFX_MSG(CCtlParaView)
	afx_msg void OnDoubleclickedRadio1();
	afx_msg void OnDoubleclickedRadio2();
	afx_msg void OnDoubleclickedRadio3();
	afx_msg void OnDblclkList1(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnAddCtlPara();
	afx_msg void OnSelCtlPara();
	afx_msg void OnCreateCtlPara();
	afx_msg void OnDeleteCtlPara();
	afx_msg void OnClickList1(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnModify();
	afx_msg void OnLoad();
	afx_msg void OnSave();
	afx_msg void OnSendbutton1();
	afx_msg void OnSendbutton2();
	afx_msg void OnSendbutton3();
	afx_msg void OnSendbutton4();
	afx_msg void OnLoadsend();
	afx_msg void OnButton2();
	afx_msg void OnButtonOk();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_CTLPARAVIEW_H__65813572_96EC_40E6_B460_178DD7D48802__INCLUDED_)
